package com.example.game_community.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.game_community.entity.Post;

import java.util.List;

public interface SearchService extends IService<Post> {

    List<Post> getSearchList(String keyword);

    Page<Post> search(String keyword, int page, int pageSize);
}
